package xyh.ContributionSystem.ProjectContribution;

import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

@Builder
@Data
public class ProjectContribution {
    private int contribution_id;
    private int student_id;
    private String p_type;
    private int p_id;
    private String p_time;
    private String p_task;
    private double contribution_outlay;

    @Tolerate
    public ProjectContribution() {}

    public ProjectContribution(int contribution_id, int student_id, String p_type, int p_id, String p_time, String p_task, double contribution_outlay) {
        this.contribution_id = contribution_id;
        this.student_id = student_id;
        this.p_id = p_id;
        this.p_type = p_type;
        this.p_time = p_time;
        this.p_task = p_task;
        this.contribution_outlay = contribution_outlay;
    }


}
